package com.ly.heart.domain.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

import java.util.Date;

/**
 * 自己发起任务实例Vo
 * @author cxl
 */
@Data
@Accessors(chain = true)
public class ActMyInstanceVo {

    @ApiModelProperty ("流程名称")
    private String processName;

    @ApiModelProperty ("实例id")
    private String instanceId;

    @ApiModelProperty ("实例名称")
    private String instanceName;

    @ApiModelProperty ("状态")
    private String status;

    @ApiModelProperty ("创建时间")
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;

    @ApiModelProperty ("流程key")
    private String definitionKey;

    @ApiModelProperty ("关联业务id")
    private String businessKey;

    @ApiModelProperty ("发起时间")
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    private Date startTime;

    @ApiModelProperty ("结束时间")
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    private Date endTime;

    @ApiModelProperty ("状态名称")
    private String statusName;

    @ApiModelProperty ("流程对象")
    private String modelData;

    @ApiModelProperty ("表单对象")
    private String formData;

    @ApiModelProperty ("菜单id")
    private String menuId;

}
